package com.ruoyi.business.domain;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.ruoyi.common.annotation.Excel;
import lombok.Data;

import java.util.Date;

/**
 * @author win43
 */
@Data
public class StatisticsVO {

    @JsonSerialize(using= ToStringSerializer.class)
    private Long contentId;

    @Excel(name = "内容标题")
    private String contentTitle;

    @Excel(name = "内容创建时间")
    private Date contentCreateTime;

    @Excel(name = "内容创建者")
    private String contentCreateBy;

    @JsonSerialize(using= ToStringSerializer.class)
    private Long contentDepartId;

    @Excel(name = "内容创建归属")
    private String contentBelongName;

    @Excel(name = "内容创建部门")
    private String contentDepartName;

    @JsonSerialize(using= ToStringSerializer.class)
    private Long contentBelong;

    @Excel(name = "访问者")
    private String staffName;

    @JsonSerialize(using= ToStringSerializer.class)
    private Long staffDepartId;

    @Excel(name = "访问者归属")
    private String staffBelongName;

    @Excel(name = "访问者所属部门")
    private String staffDepartName;

    @JsonSerialize(using= ToStringSerializer.class)
    private Long staffBelong;

    @Excel(name = "访问者访问次数")
    private Integer count;

    @Excel(name = "访问者IP地址")
    private String clientIp;

    @Excel(name = "访问时间")
    private Date statisticTime;
}
